package com.action;

import java.util.List;

import com.man.UserMessageCtrl;
import com.std.UserMessage;

public class AdminMessageSelectAction {
	private int size;
	private List<UserMessage> userMessageList;
	public int getSize() {
		return size;
	}
	public void setSize(int size) {
		this.size = size;
	}
	public List<UserMessage> getUserMessageList() {
		return userMessageList;
	}
	public void setUserMessageList(List<UserMessage> userMessageList) {
		this.userMessageList = userMessageList;
	}
	public String execute() {
		UserMessageCtrl userMessageCtrl=new UserMessageCtrl();
		userMessageList=userMessageCtrl.getItems();
		size=userMessageList.size();
		return "success";
	}
}
